// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class FormControlVO extends ControlVOBase {
	constructor(data: any) {
		//  表单预置字段
		data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
		data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
		super(data);
		//  表单自持属性
		this.$ownKeys = [
			'srfupdatedate',
			'srforikey',
			'srfkey',
			'srfmajortext',
			'srftempmode',
			'srfuf',
			'srfdeid',
			'srfsourcekey',
			'ibizbookid',
			'ibizbookname',
			'author',
			'press',
			'price',
			'type',
			'booknumber',
			'icon',
			'lendouttime',
			'returntime',
			'subtext',
		];
	}
	get srfupdatedate() {
		return this.$DO.updatedate;
	}
	set srfupdatedate(value: any) {
		this.$DO.updatedate = value;
	}
	get srfkey() {
		return this.$DO.ibizbookid;
	}
	set srfkey(value: any) {
		this.$DO.ibizbookid = value;
	}
	get srfmajortext() {
		return this.$DO.ibizbookname;
	}
	set srfmajortext(value: any) {
		this.$DO.ibizbookname = value;
	}
	get ibizbookid() {
		return this.$DO.ibizbookid;
	}
	set ibizbookid(value: any) {
		this.$DO.ibizbookid = value;
	}
	get ibizbookname() {
		return this.$DO.ibizbookname;
	}
	set ibizbookname(value: any) {
		this.$DO.ibizbookname = value;
	}
	get author() {
		return this.$DO.author;
	}
	set author(value: any) {
		this.$DO.author = value;
	}
	get press() {
		return this.$DO.press;
	}
	set press(value: any) {
		this.$DO.press = value;
	}
	get price() {
		return this.$DO.price;
	}
	set price(value: any) {
		this.$DO.price = value;
	}
	get type() {
		return this.$DO.type;
	}
	set type(value: any) {
		this.$DO.type = value;
	}
	get booknumber() {
		return this.$DO.booknumber;
	}
	set booknumber(value: any) {
		this.$DO.booknumber = value;
	}
	get icon() {
		return this.$DO.icon;
	}
	set icon(value: any) {
		this.$DO.icon = value;
	}
	get lendouttime() {
		return this.$DO.lendouttime;
	}
	set lendouttime(value: any) {
		this.$DO.lendouttime = value;
	}
	get returntime() {
		return this.$DO.returntime;
	}
	set returntime(value: any) {
		this.$DO.returntime = value;
	}
	get subtext() {
		return this.$DO.subtext;
	}
	set subtext(value: any) {
		this.$DO.subtext = value;
	}
	srforikey: any;
	srftempmode: any;
	srfdeid: any;
	srfsourcekey: any;
}
